package com.block.job.service;

import cn.hutool.core.util.RandomUtil;
import com.block.common.service.LogFactory;
import com.block.merchant.service.IMerchantDataPushInfoService;
import org.apache.http.auth.AUTH;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class QueryMerchantPushDataJob {

    private static final Logger log = LogFactory.getJobLog();

//    @Autowired
//    IMerchantDataPushInfoService merchantDataPushInfoService;

//    @Scheduled(cron = "0 0/5 * * * ?")// 每五分钟执行一次
//    @Scheduled(cron = "0 0/1 * * * ?")
//    public void queryPushData(){
//
//        String number = RandomUtil.randomNumbers(5);
//        log.info("【商户回调定时查询】查询开始。。。。"+number);
//
//        merchantDataPushInfoService.queryPushData();
//
//        log.info("【商户回调定时查询】查询结束。。。。"+number);
//    }

}
